package cn.iocoder.an.module.business.controller.admin.storeinitbackup.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDate;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import cn.idev.excel.annotation.*;

@Schema(description = "管理后台 - 库存台账备份 Response VO")
@Data
@ExcelIgnoreUnannotated
public class StoreInitBackupRespVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "13706")
    private Long id;

    @Schema(description = "客户账号", requiredMode = Schema.RequiredMode.REQUIRED, example = "27843")
    @ExcelProperty("客户账号")
    private String customerAccount;

    @Schema(description = "客户", example = "李四")
    @ExcelProperty("客户")
    private String customerName;

    @Schema(description = "仓库地点")
    @ExcelProperty("仓库地点")
    private String storeLocation;

    @Schema(description = "仓库名称", example = "李四")
    @ExcelProperty("仓库名称")
    private String storeName;

    @Schema(description = "图号")
    @ExcelProperty("图号")
    private String drawingNumber;

    @Schema(description = "品名", example = "芋艿")
    @ExcelProperty("品名")
    private String productName;

    @Schema(description = "期初数量", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("期初数量")
    private Integer initAmount;

    @Schema(description = "当前库存", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("当前库存")
    private Integer currentAmount;

    @Schema(description = "备份日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("备份日期")
    private LocalDate backupDate;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;


    /**
     * 当天总入库
     */
    private Integer currentIn;

    /**
     * 当天总出库
     */
    private Integer currentOut;

}